package com.arpa.ntocc.common.domain.vo;

import com.arpa.ntocc.common.domain.entity.BasicEntity;
import com.arpa.ntocc.common.domain.enums.PartyStatusEnum;
import com.arpa.ntocc.common.domain.enums.PartyTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 账号dto
 * @author liuxr
 * @date 2021/11/29 18:54
 */
@Data
@ApiModel(value="账号dto", description="账号dto")
public class UserVo extends BasicEntity {


    @ApiModelProperty(value = "手机号、用户账号")
    private String phone;

    @ApiModelProperty(value = "用户类型")
    private PartyTypeEnum partyType;

    @ApiModelProperty(value = "用户名")
    private String name;

    @ApiModelProperty(value = "用户密码")
    private String upass;

    @ApiModelProperty(value = "状态 0正常，1禁用")
    private PartyStatusEnum status;

    @ApiModelProperty(value = "显示授权按钮：0不显示， 1显示")
    private int showAuthorizationMenu;

    @ApiModelProperty(value = "组织编号")
    private String groupCode;

    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;


    @ApiModelProperty(value = "授权仓库")
    private String [] authorizationWarehouseCode;

    @ApiModelProperty(value = "授权货主")
    private String [] authorizationShipmentCode;

    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;

    @ApiModelProperty(value = "'货主名称'")
    private String shipmentName;



}
